<?php

namespace PhpYes\Modules\Log\Backend;


use PhpYes\Modules\Log\LoggerBackendBase;
use PhpYes\Modules\Log\LogRecordInterface;

class BackendConsole extends LoggerBackendBase
{

    /**
     * @param LogRecordInterface $logRecord
     * @return void
     */
    public function logRecord(LogRecordInterface $logRecord)
    {
        echo $logRecord->getLogMessage() . PHP_EOL;
    }
}